#include "qappswitcher.h"
#include <apgtask.h>
#include <eikenv.h>

QAppSwitcher::QAppSwitcher(QObject *parent) :
    QObject(parent)
{
}

void QAppSwitcher::BringToFront()
{
    TApaTask task( CEikonEnv::Static()->WsSession() );
    task.SetWgId(CEikonEnv::Static()->RootWin().Identifier());
    task.BringToForeground();
}
